const webpack = require('webpack');

module.exports = require("./webpack.common")({
  mode: "development",
  plugins: [
    new webpack.HotModuleReplacementPlugin(),
  ],
  devServer: {
    contentBase: './build',
    hot: true,
  },
  stats: "errors-only", //只在发生错误或有新的编译时输出
});